package com.icbc.open.chengdu.demo;


import com.icbc.open.chengdu.test.data.etc.TestData;

/**
 * 测试数据类
 *
 * @author xcz
 */
public class BaseData {

    /*************************API测试地址*************************/
    //测试的服务器URL
    public static final String BASE_URL = "https://apipcs3.dccnet.com.cn";
    //测试的API地址  注意测试API地址和正式环境的API地址不同
    public static final String ACCOUNT_OPEN_URL = BASE_URL+"/api/settlement/account/open/V2";
    public static final String ACCOUNT_SCODE_SEND_URL =BASE_URL+ "/api/settlement/account/scode/send/V1";
    public static final String ACCOUNT_SCODE_VERIFY_URL = BASE_URL+"/api/settlement/account/scode/verify/V1";
    public static final String ACCOUNT_OPEN_QUERY_URL =BASE_URL+ "/api/settlement/account/open/query/V1";
    public static final String ACCOUNT_RECHARGE_URL =BASE_URL+ "/api/settlement/account/recharge/V1";
    public static final String ACCOUNT_BALANCE_QUERY_URL = BASE_URL+"/api/settlement/account/balance/query/V1";
    public static final String ACCOUNT_UNHOLD_URL =BASE_URL+ "/api/settlement/account/unhold/V1";
    public static final String ACCOUNT_WITH_DRAW_URL =BASE_URL+ "/api/settlement/account/withdraw/V1";
    public static final String ACCOUNT_HOLD_URL = BASE_URL+"/api/settlement/account/hold/V1";
    public static final String ACCOUNT_ORIENTED_TRANSFER_URL = BASE_URL+"/api/settlement/account/orientedtransfer/V1";
    public static final String ACCOUNT_APPLY_QUERY_URL = BASE_URL+"/api/settlement/account/apply/query/V1";
    public static final String ACCOUNT_BINDING_QUERY_URL = BASE_URL+"/api/settlement/account/binding/V1/query";
    public static final String ACCOUNT_BINDING_URL = BASE_URL+"/api/settlement/account/binding/V1";
    public static final String ACCOUNT_DEAL_QUERY_URL = BASE_URL+"/api/settlement/account/deal/query/V1";
    public static final String ACCOUNT_DETAIL_QUERY_URL = BASE_URL+"/api/settlement/account/detail/query/V1";
    public static final String ACCOUNT_UNBINDING_QUERY_URL = BASE_URL+"/api/settlement/account/unbinding/V1";
    public static final String ACCOUNT_STATUS_QUERY_URL = BASE_URL+"/api/settlement/account/status/query/V1";
    public static final String ACCOUNT_CLOSEACCEPT_URL = BASE_URL+"/api/settlement/account/closeaccept/V1";
    public static final String ACCOUNT_INFO_QUERY_URL = BASE_URL+"/api/settlement/account/info/query/V1";



    /*************************基础请求测试数据*************************/
    //回调地址
    public static final String TEST_NOTIFY_ADDR = "http://132.232.107.203:8888/";
    //合作方工作日期
    public static final String TEST_CORP_DATE = "2019-04-30";
    //合作方交易日期
    public static final String TEST_TRX_ACC_DATE = "2019-04-30";
    //合作方交易时间
    public static final String TEST_TRX_ACC_TIME = "13:30:01";
    //保留的金额
    public static final String TEST_HOLD_AMOUNT = "1000";
    //保留种类
    public static final int TEST_HOLD_TYPE = 57;
    //保留的remarks
    public static final String TEST_HOLD_REMARKS = "WK0001";
    //定向转账的对公账户
    public static final String TEST_OACC_NO = "4402932019000074873";


    /*************************开卡申请数据*************************/
    //I类卡号
    public static final String TEST_ACCOUNT_NUMBER_1 = "6222080200000158215";
    //I类卡 绑卡申请数据
    public static final String TEST_BINDING_ACCOUNT_NUMBER_1 = "6222080200027777484";
    //II类卡 介质号：zxc   卡号：6214764402000930870
    //II类卡 介质号：18080190956 卡号：6214764402000930888
    //II类卡 介质号：xcz1899 卡号：6214764402000930904
    //II类卡 介质号：testv2 卡号：6214764402000930920
    public static final String TEST_ACCOUNT_NUMBER_2 = "6214764402000930904";
    //用户身份证号
    public static final String TEST_CERT_NO = "12299419610504396X";
    //I类卡绑定的手机号码
    public static final String TEST_PHONE_NUMBER = "13651232939";
    //合作方介质号
    public static final String TEST_CORP_MEDIUM_ID = "testv1";
    //用户名称
    public static final String TEST_CUS_NAME = "忆俐治";


    /*************************工行RSA的公钥*************************/
    public static final String ICBC_RSA_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwFgHD4kzEVPdOj03ctKM7KV+16bWZ5BMNgvEeuEQwfQYkRVwI9HFOGkwNTMn5hiJXHnlXYCX+zp5r6R52MY0O7BsTCLT7aHaxsANsvI9ABGx3OaTVlPB59M6GPbJh0uXvio0m1r/lTW3Z60RU6Q3oid/rNhP3CiNgg0W6O3AGqwIDAQAB";

    /*************************合作方相关的加解密数据*************************/
    //APP ID
    public static final String APP_ID = TestData.APP_ID;
    //客户RSA的私钥
    public static final String MY_RSA_PRIVATE_KEY = TestData.MY_RSA_PRIVATE_KEY;
    //客户SM2的私钥
    public static final String MY_SM2_PRIVATE_KEY = TestData.MY_SM2_PRIVATE_KEY;
    //工行RSA的公钥
    public static final String ICBC_SM2_PUBLIC_KEY = TestData.ICBC_SM2_PUBLIC_KEY;
}
